package wci.intermediate.typeimpl;

import wci.intermediate.TypeForm;

/**
 * <h1>TypeFormImpl</h1>
 * <p>Pascal类型说明格式</p>
 * <p>Copyright (c) 2009 by Ronald Mak</p>
 * <p>For instructional purposes only.  No warranties.</p>
 */
public enum TypeFormImpl implements TypeForm
{
    SCALAR("标量")/*标量*/,
    ENUMERATION("枚举")/*枚举*/, 
    SUBRANGE("子界")/*子界*/, 
    ARRAY("数组") /*数组*/, 
    RECORD("记录")/*记录*/;
    private String description;
    
    private TypeFormImpl(String description) {
		this.description = description;
	}

	public String toString()
    {
        return description;
    }
}
